home *** CD-ROM | disk | FTP | other *** search
/ Nothing but Tetris / Nothing but Tetris.iso / amiga / workbench_tris / tetris_protos.h < prev    next >
C/C++ Source or Header  |  1992-11-19  |  1KB  |  30 lines

  1. /*
  2. Copyright (c) 1992, Trevor Smigiel.  All rights reserved.
  3.  
  4. (I hope Commodore doesn't mind that I borrowed their copyright notice.)
  5.  
  6. The source and executable code of this program may only be distributed in free
  7. electronic form, via bulletin board or as part of a fully non-commercial and
  8. freely redistributable diskette.  Both the source and executable code (including
  9. comments) must be included, without modification, in any copy.  This example may
  10. not be published in printed form or distributed with any commercial product.
  11.  
  12. This program is provided "as-is" and is subject to change; no warranties are
  13. made.  All use is at your own risk.  No liability or responsibility is assumed.
  14.  
  15. */
  16.  
  17. /* Prototypes for functions defined in
  18. Tetris.c
  19.  */
  20. struct TBoard * NewBoard(struct RastPort *, WORD , WORD );
  21. void FreeBoard(struct TBoard *);
  22. void AddPiece(struct TBoard *);
  23. WORD TestMove(struct TBoard *, WORD , WORD , WORD );
  24. void CheckRows(struct TBoard *, WORD , WORD );
  25. void MoveTetris(struct TBoard *, WORD );
  26. void DrawLine(struct TBoard *, WORD );
  27. void UpdateTetris(struct TBoard *);
  28. void DrawBoard(struct TBoard *);
  29. void StartLevel(struct TBoard *, WORD );
  30.